@home.main("") {

    <script src="@routes.Assets.at("igv/js/igv.min.js")" type="text/javascript"></script>


    <div id='igv-div'></div>


    <script>




            document.addEventListener("DOMContentLoaded", function () {

                var options =
                        {
                            genome: "hg19",
                            locus: "chr1:11548-16643",
                           // showNavigation:false,
                          //  showRuler:false,
                            tracks: [
                                {
                                    type: 'alignment',
                                    format: 'cram',
                                    url: "/RiceRC/download/linkIgvData?path=HG00096.mapped.ILLUMINA.bwa.GBR.exome.20120522.bam.cram",
                                    indexURL: "/RiceRC/download/linkIgvData?path=HG00096.mapped.ILLUMINA.bwa.GBR.exome.20120522.bam.cram.crai",
                                    locus: "chr1:11548-13643",
                                    height: 600,
                                    name: 'HG00096'
                                }

                            ]
                        };

                var igvDiv = document.getElementById("igv-div");

                igv.createBrowser(igvDiv, options)
                        .then(function (browser) {
                            console.log("Created IGV browser");
                        })

            });


            /*

                  var igvDiv = document.getElementById("igv-div");
                  var options = {
                    genome: "hg38",
                    locus: 'chr8:128749473-128749546',
                    tracks: [{
                      type: 'alignment',
                      format: 'bam',
                      url:'/assets/igv/data/hg00096_hg38.bam',
                      indexURL:'/assets/igv/data/hg00096_hg38.bam.bai',
                      name:'hg00096'

                    }]





            /!*        genome: "hg19",
                    fastaURL:'file:///D:/%E7%94%98%E8%82%83%E5%88%86%E6%9E%90%E4%BA%91%E5%B9%B3%E5%8F%B0%E8%B5%84%E6%96%99/%E6%B5%8B%E8%AF%95%E6%95%B0%E6%8D%AE/%E6%9C%89%E5%8F%82/ref_genome.fa',
                    indexURL:'file:///D:/%E7%94%98%E8%82%83%E5%88%86%E6%9E%90%E4%BA%91%E5%B9%B3%E5%8F%B0%E8%B5%84%E6%96%99/%E6%B5%8B%E8%AF%95%E6%95%B0%E6%8D%AE/%E6%9C%89%E5%8F%82/ref_genome.fa.fai',
                    //locus: "chr8:128,747,267-128,754,546",
                    locus: '22:16052542',
                    tracks: [{
                      type: 'alignment',
                      format: 'bam',
                      //url: 'https://data.broadinstitute.org/igvdata/1KG/b37/data/HG02450/alignment/HG02450.mapped.ILLUMINA.bwa.ACB.low_coverage.20120522.bam',
                      //name: 'HG02450'
                      url:'file:///F:/hisat2_map_sorted.bam',
                      indexURL:'file:///F:/hisat2_map_sorted.bam.bai',
                      name:'chr22'

                    }]*!/
                  };

                  igv.createBrowser(igvDiv, options)
                          .then(function (browser) {
                            console.log("Created IGV browser");
                          })

                )
            */



    </script>

}